package com.genokon.druid.annotation;

import com.genokon.druid.enums.DataSourceEnum;

import java.lang.annotation.*;

/**
 * @author by baichaoda
 * @date 2020/7/30 18:30
 */
@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataSource {
    DataSourceEnum value() default DataSourceEnum.dbGeneService;
}
